package com.ruoyi.financial.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 t_jr_factoring_detail
 * 
 * @author ruoyi
 * @date 2021-07-02
 */
public class TJrFactoringDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private String factoringOrderNo;

    /**
     * 公寓名称
     */
    private String name;

    /**
     * 承租房间
     */
    private String roomName;

    /**
     * 租客姓名
     */
    private String tenantName;

    /**
     * 应还保理租金
     */
    private String shouldMonthRent;

    /**
     * 交租日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date collectionDate;

    /**
     * 资金方
     */
    private String capitalName;

    /**
     * 借款账期开始日，格式：yyyymmdd
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date borrowedStart;

    /**
     * 借款账期截止日，yyyymmdd
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date borrowedEnd;

    public TJrFactoringDetail(String factoringOrderNo, String name, String roomName, String tenantName, String shouldMonthRent, Date collectionDate, String capitalName, Date borrowedStart, Date borrowedEnd) {
        this.factoringOrderNo = factoringOrderNo;
        this.name = name;
        this.roomName = roomName;
        this.tenantName = tenantName;
        this.shouldMonthRent = shouldMonthRent;
        this.collectionDate = collectionDate;
        this.capitalName = capitalName;
        this.borrowedStart = borrowedStart;
        this.borrowedEnd = borrowedEnd;
    }

    public TJrFactoringDetail() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getFactoringOrderNo() {
        return factoringOrderNo;
    }

    public void setFactoringOrderNo(String factoringOrderNo) {
        this.factoringOrderNo = factoringOrderNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getTenantName() {
        return tenantName;
    }

    public void setTenantName(String tenantName) {
        this.tenantName = tenantName;
    }

    public String getShouldMonthRent() {
        return shouldMonthRent;
    }

    public void setShouldMonthRent(String shouldMonthRent) {
        this.shouldMonthRent = shouldMonthRent;
    }

    public Date getCollectionDate() {
        return collectionDate;
    }

    public void setCollectionDate(Date collectionDate) {
        this.collectionDate = collectionDate;
    }

    public String getCapitalName() {
        return capitalName;
    }

    public void setCapitalName(String capitalName) {
        this.capitalName = capitalName;
    }

    public Date getBorrowedStart() {
        return borrowedStart;
    }

    public void setBorrowedStart(Date borrowedStart) {
        this.borrowedStart = borrowedStart;
    }

    public Date getBorrowedEnd() {
        return borrowedEnd;
    }

    public void setBorrowedEnd(Date borrowedEnd) {
        this.borrowedEnd = borrowedEnd;
    }

    @Override
    public String toString() {
        return "TJrFactoringDetail{" +
                "factoringOrderNo='" + factoringOrderNo + '\'' +
                ", name='" + name + '\'' +
                ", roomName='" + roomName + '\'' +
                ", tenantName='" + tenantName + '\'' +
                ", shouldMonthRent='" + shouldMonthRent + '\'' +
                ", collectionDate=" + collectionDate +
                ", capitalName='" + capitalName + '\'' +
                ", borrowedStart=" + borrowedStart +
                ", borrowedEnd=" + borrowedEnd +
                '}';
    }
}
